package com.gralves.elasticsearch.utils.config.enumeration;

/**
 * @author zhouyibin
 * @date 2018/12/27
 * @desc
 */
public enum QueryMethod {
    MUST_NOT(-1),
    MUST(0),
    SHOULD(1);

    private Integer queryMethod;

    QueryMethod(Integer queryMethod) {
        this.queryMethod = queryMethod;
    }

    public Integer getQueryMethod() {
        return queryMethod;
    }

    public void setQueryMethod(Integer queryMethod) {
        this.queryMethod = queryMethod;
    }
}
